package com.dailyblue.javaee.test;

import com.dailyblue.javaee.bean.Emp;
import com.dailyblue.javaee.service.EmpService;
import com.dailyblue.javaee.service.impl.EmpServiceImpl;

import java.util.List;

public class App {
    public static void main(String[] args) {
        EmpService service = new EmpServiceImpl();
        List<Emp> list = service.find();
        list.forEach(System.out::println);
    }
}